import 'package:flutter/material.dart';

class TextContainer extends StatelessWidget {
  final List<String> strList;
  TextContainer(this.strList);
  
  @override
    Widget build(BuildContext context) {
      print(strList);
      return Column(children:
      strList.map((element) => 
        Container(child: Text(element),
        height: 10.3,
        width: 30.0,
        margin: EdgeInsets.all(5.0),
        )
      ).toList()
      );
    }
}
